import json
import requests

def OwnThink(question):
    response = requests.get('https://api.ownthink.com/bot?spoken=' + question)
    try:
        dict = response.text
        dict = json.loads(dict)
        answer = dict.get("data").get("info").get("text")
    except:
        answer = question
    return answer